<!--{template header}-->
<!--contain start-->
<div class="wrapper">
<div class="body_container">
 <div class="container_24">
  <!--{template user/user_nav}-->
<!--main start-->
 <section class="clearfix section">
  <!--{template user/user_side}-->
  <div class="show_panel container_24 po_re">
   <div class="prefix_3 grid_21">
   <div class="panel clearfix box">
     <!--main content-->
     <div class="">
      <!--header内容头部 start-->
       <header class="clearfix box_header">
         <h2 class="grid_4 alpha omega box_title t_c">{$_lang['toolbox']}</h2>
           <div class="grid_17 alpha omega">
             <nav class="box_nav">
               <ul>
                  {loop $third_nav $k $v}
                      <li {if $k==$show}class="selectedLava"{/if}>
                          <a href="{$origin_url}&op={$op}&show={$k}#userCenter" title="$v['1']">$v['0']</a>
                     </li>
                  {/loop}
               </ul>
             </nav>
            </div>
           <div class="clear"></div>
       </header>
      <!--header内容头部 end-->				
     <div class="messages m_infor " style="margin-top:10px;">
        <span class="icon16"></span>
            {$_lang['make_you_more_competitive']} <a href="###" class="close">&times;</a>
        </div>
	<!--detail内容 start-->
     <article class="box_detail">
       <div class="">
       <div class="clearfix box pad10">
         <!--from表单 start-->
           <form action="{$url}#userCenter" method="post" id="frm">
             <input type="hidden" name="page" value="{$page}">
               <div class="rowElem clearfix">
                 <div class="mr_8 fl_l">
                    <label class="grid_2 t_l">
                      {$_lang['type_of_service']}{$_lang['zh_mh']}
                   </label>
                   <select name="wh[item_code]">
                      <option value="" {if !$wh['item_code']}selected="selected"{/if}>{$_lang['all']}</option>
                           {loop $payitem_config $k $v}
						   	<option value="{$k}" {if $wh['item_code']==$k}selected="selected"{/if}>{$v['item_name']} </option>
                           {/loop}
                   </select>
                                                </div>
                                                <div class="mr_8 fl_l" style="display:none;">
                                                    <label class="grid_2 t_l">
                                                        {$_lang['type_of_use']}{$_lang['zh_mh']}
                                                    </label>
                                                    <select name="w[use_type]">
                                                        <option value="" {if !$w['use_type']}selected="selected"{/if}>{$_lang['all']}</option>
                                                        <option value="buy" {if $w['use_type']=='buy'}selected="selected"{/if}>{$_lang['buy']}</option>
                                                        <option value="spend" {if $w['use_type']=='spend'}selected="selected"{/if}>{$_lang['use']}</option>
                                                    </select>
                                                </div>
                                                <div class="mr_8 fl_l">
                                                    <label class="grid_2 t_l">
                                                       {$_lang['order_by']}{$_lang['zh_mh']}
                                                    </label>
                                                    <select name="ord">
                                                        {loop $ord_arr $k $v}<option value="$k" {if $k==$ord}selected="selected"{/if}>{$v} </option>
                                                        {/loop}
                                                    </select>
                                                    <select name="p[page_size]">
                                                        <option value="10" {if $p['page_size']=='10'}selected="selected"{/if}>{$_lang['page_size']}10{$_lang['tiao']}</option>
                                                        <option value="20" {if $p['page_size']=='20'}selected="selected"{/if}>{$_lang['page_size']}20{$_lang['tiao']}</option>
                                                        <option value="30" {if $p['page_size']=='30'}selected="selected"{/if}>{$_lang['page_size']}30{$_lang['tiao']}</option>
                                                    </select>
                                                </div>
                                                <div class="fl_r">
                                                    <button type="submit" name="sbt_search" value="{$_lang['search']}">{$_lang['search']}</button>
                                                </div>
                                            </div>
                                        </form>
                                        <!--from表单 end-->
                                        <!--date_table数据表格 start-->
                                        <div class="data_list mt_10">
                                            <table cellpadding="0" cellspacing="0" class="data_table">
                                                <thead>
                                                    <tr>
                                                        <th scope="col">
                                                            {$_lang['record_num']}
                                                        </th>
                                                        <th scope="col">
                                                            {$_lang['type_of_service']}
                                                        </th>
                                                        <th scope="col">
                                                            {$_lang['type_of_use']}
                                                        </th>
                                                        <th scope="col">
                                                            {$_lang['the_amount_spent']}
                                                        </th>
                                                        <th scope="col">
                                                           {$_lang['ci']}
                                                        </th>
                                                        <th scope="col">
                                                            {$_lang['use_time']}
                                                        </th>
                                                    </tr>
                                                </thead>
                                                <tbody>
                                                   {if $payitem_list}
                                                    {loop $payitem_list $v}
                                                    <tr>
                                                        <td>
                                                            {$v['record_id']}
                                                        </td>
                                                        <td>
                                                            {$payitem_config[$v['item_code']]['item_name']}
                                                        </td>
                                                        <td>
                                                            {if $v['obj_type']=='service'}{$_lang['shop1']}
															{elseif $v['obj_type']=='task'}{$_lang['task']}
															{elseif $v['obj_type']=='work'}{$_lang['work']}
															{else}{$_lang['now_no1']}
															{/if}
                                                        </td>
                                                        <td>
                                                            {c:$v['use_cash']}
                                                        </td>
                                                        <td>
                                                            {if $v['use_num']}{$v['use_num']}{else}--{/if}
                                                        </td>
                                                        <td>
                                                            <!--{date('Y-m-d H:i:s',$v['on_time'])}-->
                                                        </td>
                                                    </tr>
                                                    {/loop}
                                                  {else}
                                                      <tr>
                                                        <td colspan="6" class="t_c">
                                                           {$_lang['norecord']}
                                                        </td>
                                                      </tr>
                                                  {/if}
                                                </tbody>
                                            </table>
                                        </div>
                                        <!--data_table数据表格 end-->
                                        <div class="page clearfix">
                                            <p>
                                                {$pages}
                                            </p>
                                        </div>
                                    </div>
                                </div>
                            </article>
                            <!--detail内容 end-->
                        </div>
                        <!--main content end -->
                        <div class="clear">
                        </div>
                    </div>
                </div>
                </section>
                <!--main end-->
            </div>
            </div>
            <!--contain end-->
            <!--{template user/user_footer}-->
<!--{template footer}-->
